var server = require("./server");
var router = require("./router");
var reqhandlers = require("./reqhandlers");
var connecting = require("./mongo/connecting")

var handle = {};

handle["/"] = reqhandlers.start;
handle["/start"] = reqhandlers.start;
handle["/upload"] = reqhandlers.upload; 
handle["/show"] = reqhandlers.show;


server.start(router.route,handle);
connecting.connect();

